Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't update versionFile configuration if .tagpr file already exists #127

Merged
merged 1 commit into from
Oct 9, 2022

Conversation

Songmu
Copy link
Owner

@Songmu Songmu commented Oct 9, 2022

In the current implementation, even if a .tagpr file exists and the version file setting is empty, it still detects and updates the file. It is incorrect behavior.

Sometimes version files are intentionally set to an empty string, and in such cases, it is confusing to users to detect version files on tagpr's own. Also, since version file detection is done heuristically, false positives can occur.

After the initial setting, even if it is an empty string, the version file information should be changed by the developers themselves and should not be touched by tagpr.

This behavior was informed by @griffin-stewie. Thanks.

@Songmu Songmu merged commit dea666a into main Oct 9, 2022
@Songmu Songmu deleted the versionfile branch October 9, 2022 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant